Skip to main content

EntLayer

Unit: DXFConv

Description

Returns the real layer of the entity independently of inserts. If this layer is off, the entity is off. For instance if layer of entity is "0" while Entity's Insert layers is "Layer1", the function returns "Layer1" this is similar to AutoCAD.

Syntax

function EntLayer(E: TsgDXFEntity; Ins: TsgDXFInsert): TsgDXFLayer;